package com.sugon.dao;

import com.sugon.entity.DevPlanOptionEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 维护规程选项关联表Dao
 *
 * @author sugon
 * @date 2019-07-18 15:31:48
 */
public interface DevPlanOptionDao extends BaseDao<DevPlanOptionEntity> {

    /**
     * 清空指定维护规程下已关联的维护项
     *
     * @param ruleId 维护规程ID
     * @return
     */
    int clearAllByRuleId(@Param("ruleId") String ruleId);

}
